package org.jeecg.modules.demo.weixin.meituan.util;

public class AppConstants {

    public final static String SIGN_METHOD_MD5 = "MD5";
    public final static String SIGN_METHOD_HMAC = "HMAC";

    public final static String CHARSET_UTF8 = "UTF-8";

    public final static String APP_SECRET = "3c30782c85c58cc23eead2440e5955e55ecc5eb4";

    public final static String TIMESTAMP_PATTERN = "yyyy-MM-dd HH:mm:ss";
    public final static String DATE_PATTERN = "yyyy-MM-dd";

    public final static String HOST = "https://openapi.dianping.com";

    //美团验券接口
    public final static String consumeUrl = "https://openapi.dianping.com/router/tuangou/receipt/consume?";

    //根据手机号获取团购信息接口
    public final static String phoneUrl = "https://openapi.dianping.com/router/tuangou/receipt/querybymobile?";

    //获取店铺id接口
    public final static String getShopUrl = "https://openapi.dianping.com/router/oauth/session/scope?";

    //获取团购信息接口
    public final static String getGroupUrl = "https://openapi.dianping.com/tuangou/deal/queryshopdeal?";

    //美团应用的key
    public final static String appKey = "32f155c4849f5fb3";
    //美团应用的Secret
    public final static String secret = "3c30782c85c58cc23eead2440e5955e55ecc5eb4";

    //扫码校验
    public final static String examineUrl = "https://openapi.dianping.com/router/tuangou/receipt/scanprepare?";
    //撤销
    public final static String chexiaoUrl = "https://openapi.dianping.com/router/tuangou/receipt/reverseconsume?";

}
